package com.lfy.modules.blog.domain.event;

import lombok.Getter;
import org.springframework.context.ApplicationEvent;
/**
 * 清空首页缓存事件
 *
 * @author <a href="https://www.lvfeiy.top">lfy</a>
 * @date 2024/5/13 19:04
 */
@Getter
public class ClearHomeArticleCacheEvent extends ApplicationEvent {
    private final Long userId;
    public ClearHomeArticleCacheEvent(Object source, Long userId) {
        super(source);
        this.userId = userId;
    }
}
